﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VirtualCamera;

namespace TCommon
{
    public class AppContext
    {
        public static bool isHost = false;

        public static string PushUrl = string.Empty;

        public static string CurrentUser = string.Empty;

        public static MessageBoardForm MessageBoard = null;

        public static bool startFromOldVersion = false;

        public static Barrage barrage = null;

        public static VirtualCamera.VirtualCamera VirtualCamera = null;

        public static bool isSharingScreen = false;
        //是否自己在共享桌面
        public static bool isSelfSharing = false;

        //是否打开弹幕
        public static bool OpenTanMu = true;

        //是否允许聊天
        public static bool AllowChat = true;

        //是否允许上麦
        public static bool AllowOnMic = true;

        //主持人ID
        public static string HostId = string.Empty;

        //是否已经上麦
        public static bool IsOnMic = false;

        //是否被静音
        public static bool isMuted = false;

        //焦点用户
        public static string FocusedUser = string.Empty;

        //本地会议号
        public static string LocalRoomId = string.Empty;

        //本地用户名
        public static string LocalUserName = string.Empty;

        //参加的会议
        public static string AttendRoomId = string.Empty;

        //用于存储用户签名
        public static string UserSign = string.Empty;
    }
}
